package com.chengen.bean;

import java.util.Date;

public class House {

	private Integer id;
	private Integer user_id;
	private Integer type_id;
	private Integer street_id;
	private String title;
	private String description;
	private Double price;
	private Date date;
	private Integer floorage;
	private String contact;

	public House() {
	}

	public House(Integer user_id, Integer type_id, Integer street_id, String title, String description, Double price,
			Date date, Integer floorage, String contact) {
		this.user_id = user_id;
		this.type_id = type_id;
		this.street_id = street_id;
		this.title = title;
		this.description = description;
		this.price = price;
		this.date = date;
		this.floorage = floorage;
		this.contact = contact;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getFloorage() {
		return this.floorage;
	}

	public void setFloorage(Integer floorage) {
		this.floorage = floorage;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Integer getType_id() {
		return type_id;
	}

	public void setType_id(Integer type_id) {
		this.type_id = type_id;
	}

	public Integer getStreet_id() {
		return street_id;
	}

	public void setStreet_id(Integer street_id) {
		this.street_id = street_id;
	}

	@Override
	public String toString() {
		return "House [id=" + id + ", user_id=" + user_id + ", type_id=" + type_id + ", street_id=" + street_id
				+ ", title=" + title + ", description=" + description + ", price=" + price + ", date=" + date
				+ ", floorage=" + floorage + ", contact=" + contact + "]";
	}

}